package com.bbcare.followup.plat.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户信息扩展（和pt_user_info是一对一关系）
 * @TableName pt_user_info_ext
 */
@Entity
public class PtUserInfoExt implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Id
    private String id;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 入院时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date inHospitalTime;

    /**
     * 出院时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date outHospitalTime;

    /**
     * 出院诊断
     */
    private String outHospitalRemark;

    /**
     * 转入日期
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date transferHospitalTime;

    /**
     * 转入备注
     */
    private String transferHospitalRemark;

    /**
     * 邮件消息json
     */
    private String emailMessage;

    /**
     * 邮件接收人（例如 45957011@qq.com),多个邮箱英文逗号隔开
     */
    private String emailReceiver;

    /**
     * 创建人
     */
    private String creater;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 备注
     */
    private String remark;


    /**
     * 主键ID
     */
    public String getId() {
        return id;
    }

    /**
     * 主键ID
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 用户ID
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 用户ID
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 入院时间
     */
    public Date getInHospitalTime() {
        return inHospitalTime;
    }

    /**
     * 入院时间
     */
    public void setInHospitalTime(Date inHospitalTime) {
        this.inHospitalTime = inHospitalTime;
    }

    /**
     * 出院时间
     */
    public Date getOutHospitalTime() {
        return outHospitalTime;
    }

    /**
     * 出院时间
     */
    public void setOutHospitalTime(Date outHospitalTime) {
        this.outHospitalTime = outHospitalTime;
    }

    /**
     * 出院诊断
     */
    public String getOutHospitalRemark() {
        return outHospitalRemark;
    }

    /**
     * 出院诊断
     */
    public void setOutHospitalRemark(String outHospitalRemark) {
        this.outHospitalRemark = outHospitalRemark;
    }

    /**
     * 转入日期
     */
    public Date getTransferHospitalTime() {
        return transferHospitalTime;
    }

    /**
     * 转入日期
     */
    public void setTransferHospitalTime(Date transferHospitalTime) {
        this.transferHospitalTime = transferHospitalTime;
    }

    /**
     * 转入备注
     */
    public String getTransferHospitalRemark() {
        return transferHospitalRemark;
    }

    /**
     * 转入备注
     */
    public void setTransferHospitalRemark(String transferHospitalRemark) {
        this.transferHospitalRemark = transferHospitalRemark;
    }

    /**
     * 邮件消息json
     */
    public String getEmailMessage() {
        return emailMessage;
    }

    /**
     * 邮件消息json
     */
    public void setEmailMessage(String emailMessage) {
        this.emailMessage = emailMessage;
    }

    /**
     * 邮件接收人（例如 45957011@qq.com),多个邮箱英文逗号隔开
     */
    public String getEmailReceiver() {
        return emailReceiver;
    }

    /**
     * 邮件接收人（例如 45957011@qq.com),多个邮箱英文逗号隔开
     */
    public void setEmailReceiver(String emailReceiver) {
        this.emailReceiver = emailReceiver;
    }

    /**
     * 创建人
     */
    public String getCreater() {
        return creater;
    }

    /**
     * 创建人
     */
    public void setCreater(String creater) {
        this.creater = creater;
    }

    /**
     * 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }
}